/* ******************************************************************
 * This file is part of the escal project and distributed under the
 * terms of the GNU General Public License Version 3
 * Copyright (C) 2008 Epocher (xijiaosdq@gmail.com)
 * See COPYING file for licensing information.
 *******************************************************************/

#ifndef CLIENT_WATCHER_H
#define CLIENT_WATCHER_H
#include <QThread>

class QThread;
class QTcpSocket;
class ClientWatcher:public QThread{
	Q_OBJECT
public:
	ClientWatcher(QTcpSocket *socket, QObject *parent=0);
	~ClientWatcher();
	void run();
signals:
	void quited(ClientWatcher *client);
	void getUrl(QString urlStr);
private:
	QTcpSocket *socket;
};


#endif /* CLIENT_WATCHER_H */
